package com.hgw.Demo01_SimpleFactory.extend;

/**
 * Data time:2021/12/12 14:27
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class Client {
    public static void main(String[] args) {
        Coffee coffee = CoffeeFactory.createCoffee("american");
        System.out.println(coffee.getName());
    }
}
